//
//  Events.m
//  RadioApp
//
//  Created by Ryan Enguero on 5/8/14.
//  Copyright (c) 2014 engueroryan. All rights reserved.
//

#import "Events.h"

@implementation Events

- (NSString*) eventID{

    return _eventIDStr;
}

- (NSString*) eventName{

    return _eventNameStr;
}

- (NSString*) eventTitle{

    return _eventTitleStr;
}

- (NSString*) eventSubtitle{

    return _eventSubtitleStr;
}

- (NSString*) eventDesc{

    return _eventDescStr;
}

- (NSString*) eventWhen{

    return _eventWhenStr;
}

- (NSString*) eventWhere{

    return _eventWhereStr;
}


+ (instancetype)eventWithID:(NSString*)eventId andName:(NSString*)eventName andTitle:(NSString*)eventTitle andSubTitle:(NSString*)eventSubtitle andDescrription:(NSString*)eventDesc andWhen:(NSString*)eventWhen andWhere:(NSString*)eventWhere{

    Events *event = [[self alloc] init];
    
    event.eventIDStr = eventId;
    event.eventNameStr = eventName;
    event.eventTitleStr = eventTitle;
    event.eventSubtitleStr = eventSubtitle;
    event.eventDescStr = eventSubtitle;
    event.eventWhenStr = eventWhen;
    event.eventWhereStr = eventWhere;
    
    return event;

}

@end
